
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <script type="text/javascript" src="../bases/jquery-1.4.2.min.js"></script>
        <script type="text/javascript" src="../bases/jquery-ui-1.7.2.custom.min.js"></script>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Menu</title>
        <style type="text/css">
            @import url("../css/style.css");
            @import url("../css/template.css");
            @import url("../css/jquery-custom.css");
        </style>

        <script type="text/javascript">
            function showNuovoOperatore()
            {
                showData('../utente/nuovoOperatore.php');
            }
        </script>
        <script type="text/javascript">
            function showData(action)
            {
                data = $('#formReport').serialize();
                $('#searchResults').html('<div id=loading><center><br><img src="/control/images/ajax-loader.gif"></center></div>');
                $.ajax({
                    type: 'POST',
                    data: data,
                    url: action,
                    success: function(data) {

                        $('#detail').html('<center><br><br><br><img src="/control/images/ajax-loader.gif"></center>');
                        $('#detail').html(data);
                        $('#detail').dialog( "option", "title", "Nuovo operatore ");
                        $('#detail').dialog('open');
                    }
                });
            }


            $('document').ready(function(){
                $('#detail').dialog({
                    autoOpen: false,
                    width: 500,
                    height: 330,
                    modal: true,
                    position: 'top'
                });
            });

        </script>

        <script>
          function ingrandisciIcona(icona)
          {
              document.getElementById(icona).width='50';
              document.getElementById(icona).height='50';
          }
          function normalizeIcona(icona)
          {
              document.getElementById(icona).width='42';
              document.getElementById(icona).height='42';
          }
       </script>
    </head>

    <body>
<?php include 'header.php';?>
        <div id="menuMappa">
            <table>
                <tr>
                    <td><a href ="javascript:showNuovoOperatore()"><img id="ImgNuovoOperatore" src="../images/icons/64x64/user.png" border="0" title="Nuovo operatore" height="42" width="42" onmouseover="javascript:ingrandisciIcona('ImgNuovoOperatore')" onmouseout="javascript:normalizeIcona('ImgNuovoOperatore')"/></a></td>
            </tr>
            <tr>
                <td><a href="../utente/nuovaClasse.php"><img  id="ImgNuovaClasse" src="../images/icons/64x64/rss.png" border="0" title="Nuova classe" height="42" width="42" onmouseover="javascript:ingrandisciIcona('ImgNuovaClasse')" onmouseout="javascript:normalizeIcona('ImgNuovaClasse')" /></a></td>
            </tr>
            <tr>
                <td> <a href="../utente/associaUtenteClasse.php?codice=<?php echo $_COOKIE["codiceUtente"] ?>"><img id="ImgAssociaUtenteClasse" src="../images/icons/64x64/portfolio.png" border="0" title="Associa utente a classe" height="42" width="42" onmouseover="javascript:ingrandisciIcona('ImgAssociaUtenteClasse')" onmouseout="javascript:normalizeIcona('ImgAssociaUtenteClasse')" /></a></td>
            </tr>
            <tr>
                <td><a href="../utente/nuovoStudente.php"><img id="ImgNuovoStudente" src="../images/icons/64/pen.png" border="0" title="Nuova Studente" height="42" width="42" onmouseover="javascript:ingrandisciIcona('ImgNuovoStudente')" onmouseout="javascript:normalizeIcona('ImgNuovoStudente')" /></a></td>
            </tr>
            <tr>
                <td><a href="../utente/reportUtentiFind.html"><img  id="ImgReportOperatori" src="../images/icons/64/phonebook.png" border="0" title="Manage operatori"  height="42" width="42" onmouseover="javascript:ingrandisciIcona('ImgReportOperatori')" onmouseout="javascript:normalizeIcona('ImgReportOperatori')" /></a></td>
            </tr>
         

        </table>
            </div>
        <div id="detail"></div>
    </body>
</html>
